package com.oauth.google.client.beans.gmail;

import java.util.ArrayList;
import java.util.List;

import com.google.gwt.user.client.rpc.IsSerializable;

public class GoogleMailModel implements IsSerializable{

	private boolean mLoginView;
	private String mAuthUrl;
	private List<GoogleMail> mailList;
	
	public GoogleMailModel(){
		mailList = new ArrayList<GoogleMail>();
	}
	
	/**
	 * @return the mailList
	 */
	public List<GoogleMail> getMailList() {
		return mailList;
	}

	/**
	 * @param pMailList the mailList to set
	 */
	public void setMailList(List<GoogleMail> pMailList) {
		mailList = pMailList;
	}

	public String getAuthUrl() {
		return mAuthUrl;
	}
	public void setAuthUrl(String pAuthUrl) {
		mAuthUrl = pAuthUrl;
	}
	
	public boolean isLoginView() {
		return mLoginView;
	}
	public void setLoginView(boolean pLoginView) {
		mLoginView = pLoginView;
	}
	
}
